package com.ruoyi.workbenches.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 入住信息对象 rent_info
 * 
 * @author ruoyi
 * @date 2025-03-20
 */
public class RentInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long rentInfoId;

    /** 租户 */
    @Excel(name = "租户")
    private Long personId;

    /** 房号 */
    @Excel(name = "房号")
    private Long houseId;

    /** 床位号 */
    @Excel(name = "床位号")
    private String bunkNo;

    /** 床位费 */
    @Excel(name = "床位费")
    private BigDecimal bedMoney;

    /** 伙食费 */
    @Excel(name = "伙食费")
    private BigDecimal foodMoney;

    /** 护理费 */
    @Excel(name = "护理费")
    private BigDecimal nurseMoney;

    /** 押金 */
    @Excel(name = "押金")
    private BigDecimal deposit;

    /** 电费 */
    @Excel(name = "电费")
    private BigDecimal eletricFee;

    /** 水费单价 */
    @Excel(name = "水费单价")
    private BigDecimal waterFee;

    /** 其他费用 */
    @Excel(name = "其他费用")
    private BigDecimal otherFee;

    /** 1入住，2退住 */
    @Excel(name = "1入住，2退住")
    private Long rentState;

    /** 入住时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入住时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    public void setRentInfoId(Long rentInfoId) 
    {
        this.rentInfoId = rentInfoId;
    }

    public Long getRentInfoId() 
    {
        return rentInfoId;
    }
    public void setPersonId(Long personId) 
    {
        this.personId = personId;
    }

    public Long getPersonId() 
    {
        return personId;
    }
    public void setHouseId(Long houseId) 
    {
        this.houseId = houseId;
    }

    public Long getHouseId() 
    {
        return houseId;
    }
    public void setBunkNo(String bunkNo) 
    {
        this.bunkNo = bunkNo;
    }

    public String getBunkNo() 
    {
        return bunkNo;
    }
    public void setBedMoney(BigDecimal bedMoney) 
    {
        this.bedMoney = bedMoney;
    }

    public BigDecimal getBedMoney() 
    {
        return bedMoney;
    }
    public void setFoodMoney(BigDecimal foodMoney) 
    {
        this.foodMoney = foodMoney;
    }

    public BigDecimal getFoodMoney() 
    {
        return foodMoney;
    }
    public void setNurseMoney(BigDecimal nurseMoney) 
    {
        this.nurseMoney = nurseMoney;
    }

    public BigDecimal getNurseMoney() 
    {
        return nurseMoney;
    }
    public void setDeposit(BigDecimal deposit) 
    {
        this.deposit = deposit;
    }

    public BigDecimal getDeposit() 
    {
        return deposit;
    }
    public void setEletricFee(BigDecimal eletricFee) 
    {
        this.eletricFee = eletricFee;
    }

    public BigDecimal getEletricFee() 
    {
        return eletricFee;
    }
    public void setWaterFee(BigDecimal waterFee) 
    {
        this.waterFee = waterFee;
    }

    public BigDecimal getWaterFee() 
    {
        return waterFee;
    }
    public void setOtherFee(BigDecimal otherFee) 
    {
        this.otherFee = otherFee;
    }

    public BigDecimal getOtherFee() 
    {
        return otherFee;
    }
    public void setRentState(Long rentState) 
    {
        this.rentState = rentState;
    }

    public Long getRentState() 
    {
        return rentState;
    }
    public void setStartDate(Date startDate) 
    {
        this.startDate = startDate;
    }

    public Date getStartDate() 
    {
        return startDate;
    }
    public void setEndDate(Date endDate) 
    {
        this.endDate = endDate;
    }

    public Date getEndDate() 
    {
        return endDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rentInfoId", getRentInfoId())
            .append("personId", getPersonId())
            .append("houseId", getHouseId())
            .append("bunkNo", getBunkNo())
            .append("bedMoney", getBedMoney())
            .append("foodMoney", getFoodMoney())
            .append("nurseMoney", getNurseMoney())
            .append("deposit", getDeposit())
            .append("eletricFee", getEletricFee())
            .append("waterFee", getWaterFee())
            .append("otherFee", getOtherFee())
            .append("rentState", getRentState())
            .append("startDate", getStartDate())
            .append("endDate", getEndDate())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .toString();
    }
}
